package com.neuedu.model;

import java.util.List;

public class Category {
	private String cid;
	private String cname;
	private String pid;
	
	private List<Category> subs;
	
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public List<Category> getSubs() {
		return subs;
	}
	public void setSubs(List<Category> subs) {
		this.subs = subs;
	}
	public String getCid() {
		return cid;
	}
	public void setCid(String cid) {
		this.cid = cid;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	@Override
	public String toString() {
		return "Category [cid=" + cid + ", cname=" + cname + ", pid=" + pid + ", subs=" + subs + "]";
	}
	
	
}
